s = int(input("what is your lucky number:"))
sum1 = 0
for i in range (1,s+1):
    sum1 += i
print(sum1)
print(f"The result is {sum1}")
